package com.ping.study.mapper;

import com.ping.study.pojo.Games;

import java.util.List;

/**
* @author Ping01
* @description 针对表【games】的数据库操作Mapper
* @createDate 2025-04-20 20:13:51
* @Entity com.ping.study.pojo.Games
*/
public interface GamesMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Games record);

    int insertSelective(Games record);

    Games selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Games record);

    int updateByPrimaryKey(Games record);

    Games selectByGameId(String gameId);

    List<Games> selectAll();

    //删除所有赛程
    void deleteAllGames();

}
